package com.woniu.gateway.util;

import org.springframework.util.AntPathMatcher;

/**
 * @Auther: 李浪  <br/>
 * @Date: 2020/3/26:0:51  <br/>
 * @Description:
 */
public class PathUtil {

    private static AntPathMatcher matcher = new AntPathMatcher();

    public static boolean isPathMatch(String pattern, String path) {
        return matcher.match(pattern, path);
    }
}
